package com.ruoyi.system.service;

import com.ruoyi.system.entity.AlarmPerimeterDev;

import java.util.List;

/**
 * (AlarmPerimeterDev)表服务接口
 *
 * @since 2023-04-21 15:35:21
 */
public interface AlarmPerimeterDevService {

    /**
     * 通过ID查询单条数据
     *
     * @return 实例对象
     */
    AlarmPerimeterDev queryById(String devsn);

    Integer countAlarmPerimeterDev(AlarmPerimeterDev alarmPerimeterDev);

    /**
     * 分页查询
     *
     * @return 查询结果
     */
    List<AlarmPerimeterDev> queryByPage(AlarmPerimeterDev alarmPerimeterDev, int pageNum, int pageSize);

    /**
     * 新增数据
     *
     * @param alarmPerimeterDev 实例对象
     * @return 实例对象
     */
    AlarmPerimeterDev insert(AlarmPerimeterDev alarmPerimeterDev);

    /**
     * 修改数据
     *
     * @param alarmPerimeterDev 实例对象
     * @return 实例对象
     */
    AlarmPerimeterDev update(AlarmPerimeterDev alarmPerimeterDev);

    /**
     * 通过主键删除数据
     */
    boolean deleteById(String devsn);

}
